home *** CD-ROM | disk | FTP | other *** search
/ Aminet 2 / Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso / Aminet / os30 / gfx / animdemo.lha / spriteimage.c < prev    next >
C/C++ Source or Header  |  1993-01-22  |  2KB  |  77 lines

  1. /*******************************************************************************
  2.  *
  3.  * (c) Copyright 1993 Commodore-Amiga, Inc.  All rights reserved.
  4.  *
  5.  * This software is provided as-is and is subject to change; no warranties
  6.  * are made.  All use is at your own risk.  No liability or responsibility
  7.  * is assumed.
  8.  *
  9.  * spriteimage.c - sprite imagery.
  10.  *
  11.  ******************************************************************************/
  12.  
  13. #include <exec/types.h>
  14. #include <graphics/gfx.h>
  15. #include "sprites.h"
  16.  
  17. UBYTE XHairPlane0[] =
  18. {
  19.     0xe3, 0x80, 0, 0, 0, 0, 0, 0,
  20.     0x80, 0x80, 0, 0, 0, 0, 0, 0,
  21.     0x80, 0x80, 0, 0, 0, 0, 0, 0,
  22.     0x00, 0x00, 0, 0, 0, 0, 0, 0,
  23.     0x00, 0x00, 0, 0, 0, 0, 0, 0,
  24.     0x00, 0x00, 0, 0, 0, 0, 0, 0,
  25.     0x00, 0x00, 0, 0, 0, 0, 0, 0,
  26.     0x00, 0x00, 0, 0, 0, 0, 0, 0,
  27.     0x80, 0x80, 0, 0, 0, 0, 0, 0,
  28.     0x80, 0x80, 0, 0, 0, 0, 0, 0,
  29.     0xe3, 0x80, 0, 0, 0, 0, 0, 0,
  30. };
  31.  
  32. UBYTE XHairPlane1[] =
  33. {
  34.     0x00, 0x00, 0, 0, 0, 0, 0, 0,
  35.     0x00, 0x00, 0, 0, 0, 0, 0, 0,
  36.     0x00, 0x00, 0, 0, 0, 0, 0, 0,
  37.     0x3e, 0x00, 0, 0, 0, 0, 0, 0,
  38.     0x22, 0x00, 0, 0, 0, 0, 0, 0,
  39.     0x00, 0x00, 0, 0, 0, 0, 0, 0,
  40.     0x22, 0x00, 0, 0, 0, 0, 0, 0,
  41.     0x3e, 0x00, 0, 0, 0, 0, 0, 0,
  42.     0x00, 0x00, 0, 0, 0, 0, 0, 0,
  43.     0x00, 0x00, 0, 0, 0, 0, 0, 0,
  44.     0x00, 0x00, 0, 0, 0, 0, 0, 0,
  45. };
  46.  
  47. struct BitMap XHairBitMap =
  48. {
  49.     (XHAIRWIDTH / 8),
  50.     XHAIRHEIGHT,
  51.     0,
  52.     2,
  53.     0,
  54.     XHairPlane0,
  55.     XHairPlane1,
  56.     NULL, NULL, NULL, NULL, NULL, NULL,
  57. };
  58.  
  59.  
  60. UBYTE MissilePlane1[] =
  61. {
  62.     0xc0, 0, 0, 0, 0, 0, 0, 0,
  63.     0xc0, 0, 0, 0, 0, 0, 0, 0,
  64. };
  65.  
  66. struct BitMap MissileBitMap =
  67. {
  68.     (MISSILEWIDTH / 8),
  69.     MISSILEHEIGHT,
  70.     0,
  71.     2,
  72.     0,
  73.     XHairPlane1,    /* (has 2 rows of 0s) */
  74.     MissilePlane1,
  75.     NULL, NULL, NULL, NULL, NULL, NULL,
  76. };
  77.